package com.cy.detectsys.auto;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cy.detectsys.entity.DbIana;
import com.cy.detectsys.mapper.DbIanaMapper;
import com.cy.detectsys.model.dto.DbIanaDO;
import jakarta.annotation.Resource;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 【数据库】 字段更新
 */

@Component
public class UpdateTask {

    @Resource
    private DbIanaMapper dbIanaMapper;

    /**
     * 每次任务结束时刻 往后推 1小时再次开始
     */
//    @Scheduled(fixedDelay = 1000 * 60 * 60)
    @Scheduled(fixedDelay = 1000 )
    public void update() {


    }

}
